<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content=
    "application/xhtml+xml; charset=iso-8859-1" />
    <title>
      librsvg-2.46.4
    </title>
    <link rel="stylesheet" type="text/css" href="../stylesheets/lfs.css" />
    <meta name="generator" content="DocBook XSL Stylesheets V1.79.1" />
    <link rel="stylesheet" href="../stylesheets/lfs-print.css" type=
    "text/css" media="print" />
  </head>
  <body class="blfs" id="blfs-9.1">
    <div class="navheader">
      <h4>
        Beyond Linux<sup>�</sup> From Scratch <span class="phrase">(System
        V</span> Edition) - Version 9.1
      </h4>
      <h3>
        Chapter&nbsp;10.&nbsp;Graphics and Font Libraries
      </h3>
      <ul>
        <li class="prev">
          <a accesskey="p" href="libraw.html" title="libraw-0.19.5">Prev</a>
          <p>
            libraw-0.19.5
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="libtiff.html" title="LibTIFF-4.1.0">Next</a>
          <p>
            LibTIFF-4.1.0
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="graphlib.html" title=
          "Chapter&nbsp;10.&nbsp;Graphics and Font Libraries">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 9.1">Home</a>
        </li>
      </ul>
    </div>
    <div class="sect1" lang="en" xml:lang="en">
      <h1 class="sect1">
        <a id="librsvg" name="librsvg"></a>librsvg-2.46.4
      </h1>
      <div class="package" lang="en" xml:lang="en">
        <h2 class="sect2">
          Introduction to librsvg
        </h2>
        <p>
          The <span class="application">librsvg</span> package contains a
          library and tools used to manipulate, convert and view Scalable
          Vector Graphic (SVG) images.
        </p>
        <p>
          This package is known to build and work properly using an LFS-9.1
          platform.
        </p>
        <h3>
          Package Information
        </h3>
        <div class="itemizedlist">
          <ul class="compact">
            <li class="listitem">
              <p>
                Download (HTTP): <a class="ulink" href=
                "http://ftp.gnome.org/pub/gnome/sources/librsvg/2.46/librsvg-2.46.4.tar.xz">
                http://ftp.gnome.org/pub/gnome/sources/librsvg/2.46/librsvg-2.46.4.tar.xz</a>
              </p>
            </li>
            <li class="listitem">
              <p>
                Download (FTP): <a class="ulink" href=
                "ftp://ftp.gnome.org/pub/gnome/sources/librsvg/2.46/librsvg-2.46.4.tar.xz">
                ftp://ftp.gnome.org/pub/gnome/sources/librsvg/2.46/librsvg-2.46.4.tar.xz</a>
              </p>
            </li>
            <li class="listitem">
              <p>
                Download MD5 sum: aca4001b267de77924b786886a1ad64a
              </p>
            </li>
            <li class="listitem">
              <p>
                Download size: 12 MB
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated disk space required: 849 MB (add 375 MB for tests)
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated build time: 1.7 SBU (add 1.2 SBU for tests)
              </p>
            </li>
          </ul>
        </div>
        <h3>
          librsvg Dependencies
        </h3>
        <h4>
          Required
        </h4>
        <p class="required">
          <a class="xref" href="../x/gdk-pixbuf.html" title=
          "gdk-pixbuf-2.40.0">gdk-pixbuf-2.40.0</a>, <a class="xref" href=
          "libcroco.html" title="libcroco-0.6.13">libcroco-0.6.13</a>,
          <a class="xref" href="../x/cairo.html" title=
          "Cairo-1.17.2+f93fc72c03e">Cairo-1.17.2+f93fc72c03e</a>, <a class=
          "xref" href="../x/pango.html" title=
          "Pango-1.44.7">Pango-1.44.7</a>, and <a class="xref" href=
          "rust.html" title="Rustc-1.37.0">rustc-1.37.0</a>
        </p>
        <h4>
          Recommended
        </h4>
        <p class="recommended">
          <a class="xref" href="gobject-introspection.html" title=
          "gobject-introspection-1.62.0">gobject-introspection-1.62.0</a> and
          <a class="xref" href="vala.html" title=
          "Vala-0.46.6">Vala-0.46.6</a>
        </p>
        <h4>
          Optional
        </h4>
        <p class="optional">
          <a class="xref" href="gtk-doc.html" title=
          "GTK-Doc-1.32">GTK-Doc-1.32</a>
        </p>
        <p class="usernotes">
          User Notes: <a class="ulink" href=
          "http://wiki.linuxfromscratch.org/blfs/wiki/librsvg">http://wiki.linuxfromscratch.org/blfs/wiki/librsvg</a>
        </p>
      </div>
      <div class="installation" lang="en" xml:lang="en">
        <h2 class="sect2">
          Installation of librsvg
        </h2>
        <p>
          Install <span class="application">librsvg</span> by running the
          following commands:
        </p>
        <pre class="userinput">
<kbd class="command">./configure --prefix=/usr    \
            --enable-vala    \
            --disable-static &amp;&amp;
make</kbd>
</pre>
        <p>
          To test the results, issue: <span class="command"><strong>make
          check</strong></span>. Over 100 tests fail as a result of problems
          with the test suite. These test failures are primarily related to
          svg1.1, and are comparison problems due to using a later version of
          Pango than what the developers created the initial SVG files with.
        </p>
        <p>
          Now, as the <code class="systemitem">root</code> user:
        </p>
        <pre class="root">
<kbd class="command">make install</kbd>
</pre>
        <div class="admon note">
          <img alt="[Note]" src="../images/note.png" />
          <h3>
            Note
          </h3>
          <p>
            If you installed the package on to your system using a
            <span class="quote">&ldquo;<span class=
            "quote">DESTDIR</span>&rdquo;</span> method, an important file
            was not installed and should be copied and/or generated. Generate
            it using the following command as the <code class=
            "systemitem">root</code> user:
          </p>
          <pre class="root">
<kbd class="command">gdk-pixbuf-query-loaders --update-cache</kbd>
</pre>
        </div>
      </div>
      <div class="commands" lang="en" xml:lang="en">
        <h2 class="sect2">
          Command Explanations
        </h2>
        <p>
          <em class="parameter"><code>--enable-vala</code></em>: This switch
          enables building of the Vala bindings. Remove this switch if you
          don't have <a class="xref" href="vala.html" title=
          "Vala-0.46.6">Vala-0.46.6</a> installed.
        </p>
        <p>
          <em class="parameter"><code>--disable-static</code></em>: This
          switch prevents installation of static versions of the libraries.
        </p>
        <p>
          <code class="option">--disable-introspection</code>: Use this
          switch if you have not installed <span class="application">Gobject
          Introspection</span>.
        </p>
        <p>
          <code class="option">--enable-gtk-doc</code>: Use this parameter if
          <span class="application">GTK-Doc</span> is installed and you wish
          to rebuild and install the API documentation.
        </p>
      </div>
      <div class="content" lang="en" xml:lang="en">
        <h2 class="sect2">
          Contents
        </h2>
        <div class="segmentedlist">
          <div class="seglistitem">
            <div class="seg">
              <strong class="segtitle">Installed Programs:</strong>
              <span class="segbody">rsvg-convert</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Library:</strong>
              <span class="segbody">librsvg-2.so and
              libpixbufloader-svg.so</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Directories:</strong>
              <span class="segbody">/usr/include/librsvg-2.0 and
              /usr/share/gtk-doc/html/rsvg-2.0</span>
            </div>
          </div>
        </div>
        <div class="variablelist">
          <h3>
            Short Descriptions
          </h3>
          <table border="0" class="variablelist">
            <colgroup>
              <col align="left" valign="top" />
              <col />
            </colgroup>
            <tbody>
              <tr>
                <td>
                  <p>
                    <a id="rsvg-convert" name="rsvg-convert"></a><span class=
                    "term"><span class=
                    "command"><strong>rsvg-convert</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is used to convert images into PNG, PDF, PS, SVG and
                    other formats.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="librsvg-2" name="librsvg-2"></a><span class=
                    "term"><code class="filename">librsvg-2.so</code></span>
                  </p>
                </td>
                <td>
                  <p>
                    provides the functions to render Scalable Vector
                    Graphics.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="libpixbufloader-svg" name=
                    "libpixbufloader-svg"></a><span class="term"><code class=
                    "filename">libpixbufloader-svg.so</code></span>
                  </p>
                </td>
                <td>
                  <p>
                    is the <span class="application">Gdk Pixbuf</span> plugin
                    that allows <span class="application">GTK+</span>
                    applications to render Scalable Vector Graphics images.
                  </p>
                </td>
              </tr>
            </tbody>
          </table>
        </div>
      </div>
      <p class="updated">
        Last updated on 2020-02-16 15:15:05 -0800
      </p>
    </div>
    <div class="navfooter">
      <ul>
        <li class="prev">
          <a accesskey="p" href="libraw.html" title="libraw-0.19.5">Prev</a>
          <p>
            libraw-0.19.5
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="libtiff.html" title="LibTIFF-4.1.0">Next</a>
          <p>
            LibTIFF-4.1.0
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="graphlib.html" title=
          "Chapter&nbsp;10.&nbsp;Graphics and Font Libraries">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 9.1">Home</a>
        </li>
      </ul>
    </div>
  </body>
</html>
